package packagingcategory;

public class IntegerDemo {
    public static void main(String[] args) {
        //Integer 静态方法
        Integer num = Integer.valueOf(123);
        Integer num2 = Integer.valueOf("123");
        Integer num3 = Integer.valueOf("01110101",2);
        System.out.println(num);
        System.out.println(num2);
        System.out.println(num3);
    }
}
